package bb.lanxing.lib.devices.sgsettingentity.gearprofile;

import java.io.Serializable;
import java.util.List;

import kotlin.jvm.internal.Intrinsics;

public final class GearProfileSettings implements Serializable {
    private String device_model;
    private List<Gear> gears;
    private String sn;
    private Long updated_at;
    private User user;
    private String version;

    public static /* synthetic */ GearProfileSettings copy$default(GearProfileSettings gearProfileSettings, String str, Long l, List list, String str2, User user, String str3, int i, Object obj) {
        if ((i & 1) != 0) {
            str = gearProfileSettings.device_model;
        }
        if ((i & 2) != 0) {
            l = gearProfileSettings.updated_at;
        }
        Long l2 = l;
        List<Gear> list2 = list;
        if ((i & 4) != 0) {
            list2 = gearProfileSettings.gears;
        }
        List list3 = list2;
        if ((i & 8) != 0) {
            str2 = gearProfileSettings.sn;
        }
        String str4 = str2;
        if ((i & 16) != 0) {
            user = gearProfileSettings.user;
        }
        User user2 = user;
        if ((i & 32) != 0) {
            str3 = gearProfileSettings.version;
        }
        return gearProfileSettings.copy(str, l2, list3, str4, user2, str3);
    }

    public final String component1() {
        return this.device_model;
    }

    public final Long component2() {
        return this.updated_at;
    }

    public final List<Gear> component3() {
        return this.gears;
    }

    public final String component4() {
        return this.sn;
    }

    public final User component5() {
        return this.user;
    }

    public final String component6() {
        return this.version;
    }

    public final GearProfileSettings copy(String str, Long l, List<Gear> list, String str2, User user, String str3) {
        return new GearProfileSettings(str, l, list, str2, user, str3);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof GearProfileSettings)) {
            return false;
        }
        GearProfileSettings gearProfileSettings = (GearProfileSettings) obj;
        return Intrinsics.areEqual(this.device_model, gearProfileSettings.device_model) && Intrinsics.areEqual(this.updated_at, gearProfileSettings.updated_at) && Intrinsics.areEqual(this.gears, gearProfileSettings.gears) && Intrinsics.areEqual(this.sn, gearProfileSettings.sn) && Intrinsics.areEqual(this.user, gearProfileSettings.user) && Intrinsics.areEqual(this.version, gearProfileSettings.version);
    }

    public int hashCode() {
        String str = this.device_model;
        int i = 0;
        int hashCode = (str == null ? 0 : str.hashCode()) * 31;
        Long l = this.updated_at;
        int hashCode2 = (hashCode + (l == null ? 0 : l.hashCode())) * 31;
        List<Gear> list = this.gears;
        int hashCode3 = (hashCode2 + (list == null ? 0 : list.hashCode())) * 31;
        String str2 = this.sn;
        int hashCode4 = (hashCode3 + (str2 == null ? 0 : str2.hashCode())) * 31;
        User user = this.user;
        int hashCode5 = (hashCode4 + (user == null ? 0 : user.hashCode())) * 31;
        String str3 = this.version;
        if (str3 != null) {
            i = str3.hashCode();
        }
        return hashCode5 + i;
    }

    public String toString() {
        return "GearProfileSettings(device_model=" + this.device_model + ", updated_at=" + this.updated_at + ", gears=" + this.gears + ", sn=" + this.sn + ", user=" + this.user + ", version=" + this.version + ')';
    }

    public GearProfileSettings(String str, Long l, List<Gear> list, String str2, User user, String str3) {
        this.device_model = str;
        this.updated_at = l;
        this.gears = list;
        this.sn = str2;
        this.user = user;
        this.version = str3;
    }

    public final String getDevice_model() {
        return this.device_model;
    }

    public final void setDevice_model(String str) {
        this.device_model = str;
    }

    public final Long getUpdated_at() {
        return this.updated_at;
    }

    public final void setUpdated_at(Long l) {
        this.updated_at = l;
    }

    public final List<Gear> getGears() {
        return this.gears;
    }

    public final void setGears(List<Gear> list) {
        this.gears = list;
    }

    public final String getSn() {
        return this.sn;
    }

    public final void setSn(String str) {
        this.sn = str;
    }

    public final User getUser() {
        return this.user;
    }

    public final void setUser(User user) {
        this.user = user;
    }

    public final String getVersion() {
        return this.version;
    }

    public final void setVersion(String str) {
        this.version = str;
    }
}
